package me.raih.service.impl;

import me.raih.mapper.MenuMapper;
import me.raih.pojo.Menu;
import me.raih.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Raih
 * @version 1.8
 * @Time 2020/9/10  15:23
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    MenuMapper menuMapper;

    @Override
    public List<Menu> findAllMenu() {

        //List<Menu> menuList = menuMapper.findAllMenu();


        return menuMapper.findAllMenu();
    }
}
